Premmerce\WoocommerceMulticurrency\Frontend\UserPricesHandler A

Total Complexity 71
Dependencies 6
Dependents 4
Total lines 579
Lines of code 272
Logical lines of code 170
Comment lines 186
Methods 18
Properties 9

Methods 18

Method Rating Maintainability Complexity Lines of code
setFilters()
A
38 12 72
replacePrice()
A
52 9 22
isProductOnSale()
A
57 9 15
sendPricesForAjax()
S
51 5 26
filterWcQueryArgsForPriceFilter()
S
54 5 22
calculatePriceInUsersCurrency()
S
54 4 22
getPriceForProductField()
S
59 4 14
applyGetPriceForUserFilter()
S
62 4 10
replacePriceFieldsInArray()
S
63 3 10
addPriceSpan()
S
69 3 6
getProductCurrencyByProductId()
S
77 3 3
fixProductQueryWithPriceFilter()
S
62 2 11
__construct()
S
58 1 15
replaceSinglePriceField()
S
66 2 8
getFieldsToReplace()
S
72 2 5
isFiltersActive()
S
82 1 3
manageWoocommercePricesHash()
S
72 1 5
outputCurrencyIdSpan()
S
79 1 3